<template>
    <div class="supplyChain-container">
        <div class="left animate__animated animate__fadeInLeft">
            <div class="title">
                <img
                    :src="
                        require('@/assets/images/supplyChain_title_img01.png')
                    "
                />
            </div>
            <div class="icon">
                <img :src="require('@/assets/images/supplyChain_icon01.png')" />
            </div>
            <div class="content">
                <div
                    class="item"
                    v-for="(item, index) in supplyManage"
                    :key="index"
                >
                    <div class="caption">{{ item.caption }}</div>
                    <div class="sub_title">{{ item.sub_title }}</div>
                    <div class="place_icon"></div>
                </div>
            </div>
        </div>
        <div class="right animate__animated animate__fadeInRight">
            <div class="title">
                <img
                    :src="
                        require('@/assets/images/supplyChain_title_img02.png')
                    "
                />
            </div>
            <div class="icon">
                <img :src="require('@/assets/images/supplyChain_icon02.png')" />
            </div>
            <div class="content">
                <div
                    class="item"
                    v-for="(item, index) in supplyFinance"
                    :key="index"
                >
                    <div class="caption">{{ item.caption }}</div>
                    <div class="sub_title">{{ item.sub_title }}</div>
                    <div class="more_icon"><i class="el-icon-right"></i></div>
                </div>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    name: "SupplyChain",
    data() {
        return {
            supplyManage: [
                {
                    caption: "供应商协同",
                    sub_title: "线下沟通转线上协作",
                },
                {
                    caption: "一网统管",
                    sub_title: "保姆级全流程管理",
                },
                {
                    caption: "项目管理",
                    sub_title: "进度/成本精益化管理",
                },
            ], //供应链管理
            supplyFinance: [
                {
                    caption: "电子保函",
                    sub_title: "合规 · 专业 · 便捷",
                },
                {
                    caption: "票据贴现",
                    sub_title: "安全 · 方便 · 诚信",
                },
                {
                    caption: "订单融资",
                    sub_title: "稳定 · 透明 · 顺畅",
                },
            ], //供应链金融
        };
    },
};
</script>

<style lang="less" scoped>
@import "~@/assets/css/mixin.less";
.supplyChain-container {
    height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    padding: 0 30px;
    background-image: linear-gradient(
        to bottom,
        #fcfcfc 13%,
        #e5f2fe 50%,
        #68b2fe 95%
    );
    &::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 173px;
        background: url("~@/assets/images/supplyChain_bg.png") center bottom
            no-repeat;
    }

    .left,
    .right {
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-bottom: 50px;
        .title {
            width: 220px;
            height: 24px;
            img {
                width: 100%;
                height: 100%;
            }
        }
        .icon {
            width: 64px;
            height: 52px;
            margin: 50px auto;
        }
        .content {
            display: flex;
            justify-content: center;
            .item {
                flex: 1;
                width: 100%;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                margin: 0 20px;
                text-align: center;
                .caption {
                    font-size: 16px;
                    color: #222222;
                    font-weight: 600;
                    margin-bottom: 15px;
                }
                .sub_title {
                    font-size: 16px;
                    color: #5c6166;
                    margin-bottom: 30px;
                    white-space: nowrap;
                }
            }
        }
    }
    .left {
        .place_icon {
            height: 30px;
        }
    }
    .right {
        .more_icon {
            .hollow-btn-fff();
            height: 30px;
            width: 100px;
        }
    }
}
</style>